package com.ming.luckyDemo.mapper;

import com.ming.luckyDemo.pojo.DO.HistoryLuckyDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Tcm
 */
@Repository
@Mapper
public interface HistoryLuckyMapper {
    /**
     * 查询历史开奖记录，有参
     * @param numbers
     * @return
     */
    List<HistoryLuckyDO> selectLucky(@Param("numbers") int numbers);

    /**
     * 查询历史开奖记录，无参
     * @return
     */
    List<HistoryLuckyDO> selectLucky();
}
